import React from 'react';
import { Breadcrumb } from 'antd';
import { AxTabTitleCard } from '@/components/AxBase';

const tabList = [
  {
    key: 'tab01',
    tab: '申请报废',
    url: '/buyer/lab/inventory/scrap/apply',
  },
  {
    key: 'tab02',
    tab: '报废记录',
    url: '/buyer/lab/inventory/scrap/record',
  },
];
const Layout: React.FC<any> = ({ children }) => {
  return (
    <AxTabTitleCard
      title={
        <Breadcrumb separator=">">
          <Breadcrumb.Item>采购主体名称（采购主体地址）</Breadcrumb.Item>
          <Breadcrumb.Item>库存管理</Breadcrumb.Item>
          <Breadcrumb.Item>报废品登记</Breadcrumb.Item>
        </Breadcrumb>
      }
      tabList={tabList}
    >
      {children}
    </AxTabTitleCard>
  );
};

export default Layout;
